package cn.elricyu.tt.bean.battle.multi;

public class MultiBattle {

	private int index;
	private String id;
	private String name;
	private String rule;
	private String powerid;

	public MultiBattle(int index, String id, String name, String rule,
			String powerId) {
		this.index = index;
		this.id = id;
		this.name = name;
		this.rule = rule;
		this.powerid = powerId;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRule() {
		return rule;
	}

	public void setRule(String rule) {
		this.rule = rule;
	}

	public String getRuleString(int leveLimit, int from) {
		return "4:" + leveLimit + ";" + from;
	}

	public String getPowerid() {
		return powerid;
	}

	public void setPowerid(String powerid) {
		this.powerid = powerid;
	}

}
